﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<% string price = ViewData["price"].ToString();
    
    if (price != "*") { %>
    <h4>Result:</h4>
    <p>You have paid <%=ViewData["price"] %> dollars.</p>
    <%//int p = Int32.Parse(price);
    if (Int32.Parse(price) > 200 ) { %>
    <p>You can input a smaller number to lower your expenditure.</p>
      <% }}
%>